package com.peter.dao;

import com.peter.entity.Users;
import org.apache.ibatis.annotations.Param;

public interface UsersDao {

    //查询用户
    Users getUserById(@Param("id") int id);

    //修改用户
    int updateUser(Users user);
}
